Documents for PDF, .NET Edition Documentation
FromArray(Byte[],Boolean) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > Font Class > FromArray Method : FromArray(Byte[],Boolean) Method
The byte array with the font data.
Set this parameter to True if you're planning to add the font to the fallback font collection.
Loads the first Font from a byte array.
Syntax
'Declaration
 
Public Overloads Shared Function FromArray( _
   ByVal fontData() As System.Byte, _
   Optional ByVal initCodeMap As System.Boolean _
) As Font
public static Font FromArray( 
   System.byte[] fontData,
   System.bool initCodeMap
)

Parameters

fontData
The byte array with the font data.
initCodeMap
Set this parameter to True if you're planning to add the font to the fallback font collection.

Return Value

The newly created font, or null if the file did not contain any fonts.
See Also

Reference

Font Class
Font Members
Overload List